package cn.com.taurus.biz;

import cn.com.taurus.bean.RedeemRecordBean;
import cn.com.taurus.entity.RedeemRecord;
import cn.com.taurus.impl.RedeemRecordImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author zhy
 * @createTime 2021-6-3 20:49:18
 * @remark 赎回流水Biz层
 * @version 1.0
 */
@Service
public class RedeemRecordBiz {
    @Autowired
    RedeemRecordImpl redeemRecordImpl;
    
    public int redeemRecord(RedeemRecord redeemRecord) {
        return redeemRecordImpl.redeemRecord(redeemRecord);
    }

    
    public int redeemRecordUpdate(RedeemRecord redeemRecord) {
        return redeemRecordImpl.redeemRecordUpdate(redeemRecord);
    }

    
    public int redeemRecordDelete(Integer rrid) {
        return redeemRecordImpl.redeemRecordDelete(rrid);
    }

    
    public List<RedeemRecord> redeemRecordSelectAll() {
        return redeemRecordImpl.redeemRecordSelectAll();
    }

    
    public RedeemRecord redeemRecordSelectOne(Integer rrid) {
        return redeemRecordImpl.redeemRecordSelectOne(rrid);
    }

    public List<RedeemRecordBean> conditionSelectRedeemRecord(String rmId, String redeemTime, String redeemShare, String time){
        return redeemRecordImpl.conditionSelectRedeemRecord(rmId,redeemTime,redeemShare,time);
    }

    public Integer selectOne(String redeemTime,String time){
        return redeemRecordImpl.selectOne(redeemTime,time);
    }
}
